package lab01;

/**
 * Created by 阿阿阿阿豪丶 on 2017/10/8.
 */
public class Test11 {
    public static void main(String[] args) {
        int i;
        int j;
        for (i = 2; i <= 100; i++) {
            for (j = 2; j < i; j++) {
                if (i % j == 0) {
                    break;
                }
            }
            if (i == j) {
                System.out.print(i + " ");
            }
        }
    }
}
